﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CustomerMaster.master" AutoEventWireup="true" CodeBehind="CustomerDownloadDocument.aspx.cs" Inherits="EHTWebsiteProject.CustomerDownloadDocument" %>
<%@ Register Src="Controls/PaggingControl.ascx" TagName="PaggingControl" TagPrefix="EHT"%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentView" runat="server">
 <div style="background-color:White;height:3px"></div>
        <div style="background-color:#ff6600; height:20px; padding-top:10px; width: 594px;">
        
    <h2 style="color:White">
        <asp:Label ID="lbDocument" runat="server" Text="Dokument"></asp:Label>
    </h2>
    </div>
     <div class="content-center">
        <asp:Repeater ID="rpDocuments" runat="server" OnItemCommand="rpDocuments_ItemCommand"
        OnItemDataBound="rpDocuments_ItemDataBound">
        <HeaderTemplate>
            <table cellspacing="0" cellpadding="0" class="data-table">
                    <tr>
                        <th style="text-align:center;">
                            Last ned
                        </th>
                        <th>
                            Beskrivelse
                        </th>
                    </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <th style="white-space: nowrap;text-align:center;">
                    <asp:ImageButton ID="ibDownload" ImageUrl="" runat="server" Height="24" Width="24"
                        CommandArgument='<%#Eval("FileUrl") %>' CommandName="DownloadTxt" />
                    <asp:Label ID="lbDocumentUrl" runat="server" Visible="false" Text='<%#Eval("FileUrl") %>' />
                </th>
                <th>
                    <%#Eval("MoTaVN")%>
                </th>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
        </table>
        </FooterTemplate>
        </asp:Repeater>
    <p>
        <EHT:PaggingControl ID="PaggingControl1" runat="server" PageURL="IndexCustomerDocumentDownload.aspx"
            PageSize="10" />
    </p>
    </div>
</asp:Content>
